package com.zhang.network.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhang
 * @since 2021-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "NetworkUser对象", description = "")
public class NetworkUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "人脉圈id ")
    private Integer networkId;

    @ApiModelProperty(value = "人脉圈用户id")
    private Integer userId;

    @ApiModelProperty(value = "是否是管理员")
    private Integer isAdmin;

    @ApiModelProperty(value = "状态 1-有效 0-失效")
    @TableLogic
    private Integer status;


}
